package com.hs.server.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hs.server.domain.ShItemconfig;
import com.hs.server.mapper.ShItemConfigMapper;
import com.hs.server.service.ShItemConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description
 * @Author: chenjiarui
 * @Date: 2021-07-09 8:58
 */
@Service
public class ShItemConfigServiceImpl extends ServiceImpl<ShItemConfigMapper,ShItemconfig> implements ShItemConfigService {
    @Autowired
    ShItemConfigMapper shItemConfigMapper;

    /**
     * 根据配置表照片种类获取检测项
     * @return
     */
    @Override
    public List<ShItemconfig> GetItems() {
        return shItemConfigMapper.GetItems();
    }

    @Override
    public List<String> getShxdmList(String zpzl) {
        return shItemConfigMapper.getShxdmList(zpzl);
    }

    @Override
    public String getZplb(String zpzl) {
        return shItemConfigMapper.getZplb(zpzl);
    }

    @Override
    public String getZhJyx(String jyx) {
        return shItemConfigMapper.getZhJyx(jyx);
    }
}
